<template>
	<view class="box" @click="onClick">
		 <!-- #ifdef H5 -->
		<input type="text" placeholder="只在H5端显示"/>
		<!-- #endif -->
		<!-- #ifdef MP-WEIXIN -->
		<uni-countdown :day="1" :hour="1" :minute="12" :second="40"></uni-countdown>
		<!-- #endif -->
	</view>
</template>

<script lang="ts" setup>
	const onClick = () => {
	    // #ifdef H5
	    console.log('我是H5');
	    // #endif
	
	    // #ifdef MP-WEIXIN
	    console.log('我是MP-WEIXIN');
	    // #endif
	  }
</script>

<style lang="scss">
	.box{
		white:400rpx;
		height: 400rpx;
		background-color: aquamarine;
		// #ifndef MP-WEIXIN
		border-radius: 50%;
		background-color: sandybrown;
		// #endif
	}
</style>
